package com.lysj.bhp.scheduled.repository;


import com.lysj.bhp.scheduled.domain.Dividend;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.Date;
import java.util.List;


public interface DividendRepository extends JpaRepository<Dividend, Long> {

    Dividend findTopByOrderByDividentIdDesc();

    List<Dividend> findByCreateTimeAfter(Date date);

}
